home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6314 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: yama.mcc.ac.uk!dmu!babbage
  2. From: babbage@dmu.ac.uk (Babbage)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Scrolling only selected bitplanes
  5. Date: 25 Mar 1996 18:43:52 GMT
  6. Organization: De Montfort University
  7. Distribution: world
  8. Message-ID: <4j6ph8$r51@macondo.dmu.ac.uk>
  9. References: <314e1835@beachyhd.demon.co.uk> <2628.6653T1T2571@mbox.vol.it>
  10. Reply-To: babbage@dmu.ac.uk
  11. NNTP-Posting-Host: oak.cms.dmu.ac.uk
  12.  
  13. In article <2628.6653T1T2571@mbox.vol.it>, bizzetti@mbox.vol.it (Fabio Bizzetti)
  14. writes:
  15. > >Hi all,
  16. > >I'm wondering how to go about something..
  17. > >I have an intuition screen open, on to which I'm directly rendering (using
  18. > >its own rastport, not a window's rastport). This window can be any number of
  19. > >bitplanes (2 to 8), but usually is 8.
  20. > >I am currently drawing (using WritePixel()) and scrolling (using
  21. > >ScrollRaster()). However, I want to be able to draw and scroll completely
  22. > >*independently* of the final bitplane. So I draw and scroll planes 1 through
  23. > >7, but plane 8 stays completely undisturbed.
  24. > >This will allow me a basic parallax effect. As planes 1 - 7 scroll by, plane
  25. > >8 stays behind, motionless.
  26. if you really want to play with bitplanes you could always allocate your own
  27. bitmap and base your intuition screen on that and fiddle to your hearts
  28. content =:)
  29. (and use user-copperlists)
  30. why not use sprites for a non moving plane?
  31. perhaps you could scroll around the 7 planes (not changing them)
  32. and then scroll the 8th plane to put it back in a stationary position!
  33. Then your scrolling 1 and not 7
  34. > Sorry to say it, but this is a good example of reality about OS and direct
  35. > hardware programming. And also if there's a way to do it with the OS, it'll
  36. > be damn slower and expecially damn more innatural and complex than it has
  37. > to be.
  38. naaaa 
  39. > What are the king of games?: consoles. Have you ever seen a console
  40. > programmed
  41. > through an OS such as Amiga's one?
  42. yes
  43. most of the new ones have their own small o/s the developers can use
  44. and some `require` the coders to use system only calls.
  45. =:)
  46.  
  47. babbage
  48.